﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using GLIMS.DBUtility;
using System.Xml.Linq;
using System.Data.SqlClient;
using GLIMS.Common;
using System.ServiceModel.Channels;
using System.Collections.Specialized;
using System.Data;

namespace GLIMS.Common.GWF
{
    public class Flow
    {
        public static string GetFlowName(string flowCode) 
        {
            return GWF.DsWorkFlow.Tables["gwf_Flow"].Rows.OfType<DataRow>().First(x => x["FlowCode"].ToString() == flowCode)["FlowName"].ToString();
        }
    }
}